home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Util
/
Pm-Pz
/
Protectomat v2.6.cpt
/
protectomat.2.6
/
pmCommon.h
< prev
next >
Wrap
Text File
|
1991-10-07
|
1KB
|
51 lines
/*
* common declarations for loading and dumping appleshare protections
* by Aaron Wohl (aw0g+@andrew.cmu.edu)
*/
#ifndef EEXTERN
#define EEXTERN extern
#endif
#ifdef RUBBISH
typedef struct {
STANDARD_PBHEADER
int filler3;
int ioDenyModes;
int filler4;
SignedByte filler5;
SignedByte ioACUser;
long filler6;
long ioACOwnerID;
long ioACGroupID;
long ioACAccess;
long ioDirID;
} fixed_AccessParam;
typedef union {
HIOParam ioParam;
HFileParam fileParam;
HVolumeParam volumeParam;
fixed_AccessParam accessParam;
ObjParam objParam;
CopyParam copyParam;
WDParam wdParam;
} fixed_HParamBlockRec, *fixed_HParmBlkPtr;
#endif
#define ERR_BUF_SIZE (1024)
int read_line(char *aline,FILE *afile);
#define BAD_VOL_NUM (0)
long get_vol_id(char *in_name);
struct cache_entry_R {
char text[34];
long num;
};
typedef struct cache_entry_R cache_entry,*cache_entry_pt;
EEXTERN cache_entry_pt group_cache;
EEXTERN cache_entry_pt user_cache;
void allocate_cache_entries(void);
#define CACHE_SIZE (300)